import pandas as pd

file = r'Data\Cleaned_EVUsage_Data.csv'
# 读取数据
df = pd.read_csv(file)

# 统计列Charging Time (hh:mm:ss)中有多少不是 'timedelta'类型
print(df['Charging Time (hh:mm:ss)'].apply(lambda x: isinstance(x, pd.Timedelta)).value_counts())